package com.voyage.system.entity;


import com.baomidou.mybatisplus.annotation.TableName;
import com.voyage.common.constant.BaseDO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Author: voyage
 * @Date: 2021-10-24
 * @Table: v_menu_info
 * @Description: 菜单信息表
 */
@Data
@NoArgsConstructor
@TableName(value = "v_menu_info")
public class MenuDO extends BaseDO implements Serializable {



    @ApiModelProperty(value = "父id")
    private Long pid;


    @ApiModelProperty(value = "菜单类型")
    private Integer type;


    @ApiModelProperty(value = "菜单标题")
    private String title;


    @ApiModelProperty(value = "组件名称")
    private String componentName;


    @ApiModelProperty(value = "组件")
    private String component;


    @ApiModelProperty(value = "图标")
    private String icon;


    @ApiModelProperty(value = "排序")
    private Integer sort;


    @ApiModelProperty(value = "路径")
    private String path;


    @ApiModelProperty(value = "是否隐藏 1是 0否")
    private Integer hidden;


    @ApiModelProperty(value = "权限")
    private String permission;


    @ApiModelProperty(value = "是否缓存 1是 0否")
    private Integer cached;

}
